package designpattern.proxy.saticpy;

/**
 * 主类
 */
public class Client {
    public static void main(String[] args) {
        //创建对象
        MusicTeacher musicTeacher = new MusicTeacher();
        TeacherProxy teacherProxy = new TeacherProxy(musicTeacher);
        //调代理对象方法
        teacherProxy.teach();
    }
}
